﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spinning.Spinning
{
    class ScoreSystem
    {
        int _score;

        public ScoreSystem() 
        {
            _score = 0;
        }

        public int Score
        {
            get { return _score; }
        }

        public void AddScroe(int s) 
        {
            _score = _score + s;
        }

        public void MinusScore(int s) 
        {
            _score = _score - s;
        }

        public int CountTotalScore(int lifeSec, int timeSec)  //lifeSec 陀螺剩餘選轉時間, timeSec遊戲進行時間
        {
            _score = _score + lifeSec + timeSec;
            return _score;
        }
    }
}
